package com.mkx;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Second Case 微服务启动类
 */
@SpringBootApplication
@EnableDiscoveryClient  // 启用服务发现
@EnableDubbo            // 启用Dubbo
public class SecondCaseApplication {

    public static void main(String[] args) {
        SpringApplication.run(SecondCaseApplication.class, args);
    }

}